package com.fh.shop.admin.book.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@TableName("shop_book")
@ApiModel("图书实体类")
@Accessors(chain = true)
@Data
public class Book implements Serializable {
    @ApiModelProperty(name = "id", example = "0")
    private Long id;
    @TableField("bookNameInfo")
    @ApiModelProperty(name = "图书名")
    private String bookName;
    @ApiModelProperty(name = "图书价格", example = "0")
    private BigDecimal bookPrice;



}
